package tech.aistar.design.factory.version01;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2022/7/25 2:06 下午
 */
public class FactoryTest {
    public static void main(String[] args) {
        Sender qq = SimpleFactory.getInstance("QQ");
        qq.send();
        System.out.println("===");
        Sender wx = SimpleFactory.getInstance("WX");
        wx.send();
    }
}
